﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ECS.DAL.Entity
{
    public class ZoneLocation : ObjectContext
    {
        #region private properties
        private string _zoneLocationId = string.Empty;
        private string _zoneId = string.Empty;
        private string _locationId = string.Empty;
        private string _isActive = string.Empty;
        private DateTime _createDate;
        private string _createBy = string.Empty;
        private string _zoneName = string.Empty;
        private string _locationName = string.Empty;
        #endregion

        #region public properties
        public string ZoneLocationId
        {
            set
            {
                _zoneLocationId = value;
                UpdateObject();
            }
            get { return _zoneLocationId; }
        }
        public string ZoneId
        {
            set
            {
                _zoneId = value;
                UpdateObject();
            }
            get { return _zoneId; }
        }
        public string LocationId
        {
            set
            {
                _locationId = value;
                UpdateObject();
            }
            get { return _locationId; }
        }
        public string IsActive
        {
            set
            {
                _isActive = value;
                UpdateObject();
            }
            get { return _isActive; }
        }
        public DateTime CreateDate
        {
            set
            {
                _createDate = value;
                UpdateObject();
            }
            get { return _createDate; }
        }
        public string CreateBy
        {
            set
            {
                _createBy = value;
                UpdateObject();
            }
            get { return _createBy; }
        }
        public string ZoneName 
        {
            set
            {
                this._zoneName = value;
                UpdateObject();
            }
            get { return _zoneName; }
        }
        public string LocationName 
        {
            set
            {
                this._locationName = value;
                UpdateObject();
            }
            get { return _locationName; }
        }

        public string AppId { set; get; }
        public string Device { set; get; }
        public string UserId { set; get; }
        #endregion
    }
}
